Skip to content

feat(init): let accountless setup run on every framework - #470

Draft
djgould wants to merge 1 commit into
mainfrom
devin/remove-keyless-framework-gate-9b2cd3
Draft

feat(init): let accountless setup run on every framework#470
djgould wants to merge 1 commit into
mainfrom
devin/remove-keyless-framework-gate-9b2cd3

Conversation

@djgould

@djgould djgould commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Removes the supportsKeyless framework gate from clerk init. The CLI mints the accountless app itself (#395) and only needs the framework's env var names, so the gate — added when minting was going to be delegated to the SDKs (#131, plan dropped in #267) — no longer gates anything real.

  • Vue, React, JavaScript, Expo, Express, Fastify, iOS, and Android now resolve to accountless like Next.js: unauthenticated agent runs and new-project bootstraps mint dev keys, --accountless works everywhere, and the agent-mode "set up keys manually" fallback is gone.
  • iOS and Android get only the publishable key in .env (their templates don't gitignore it), mirroring env pull.
  • Scaffolder post-instructions drop the "pulled via clerk env pull" wording that was wrong for accountless runs.
  • Bootstrap registries collapsed into one; strategy tests parametrized over all 13 frameworks; React authed and unauthenticated agent-mode integration tests.

Verified against production from source, logged out: Vue (bootstrap), Express, iOS, and React each minted an app and wrote the right env file; iOS got only the publishable key. E2E didn't run locally (1Password vault not accessible from this account), so CI is the check for that suite.

Left for follow-ups: sending the Dashboard's framework id as Clerk-Framework (and carrying it on the clerk open claim link), and a breadcrumb key fallback so CLI commands can reach an unclaimed iOS/Android app before claim.

🤖 Generated with Claude Code

Remove the supportsKeyless gate and the agent-mode "manual" strategy. The CLI
mints the accountless app itself and only needs the framework's env var names,
so Vue, React, JavaScript, Expo, Express, Fastify, iOS, and Android resolve to
accountless like Next.js. iOS and Android get only the publishable key in .env,
mirroring env pull.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e4fff30

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
clerk Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant